package com.lizheng.yunservice.travel.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lizheng.yunservice.travel.doamin.CulturalVideo;
import com.lizheng.yunservice.travel.doamin.vo.CulturalVideoVO;
import com.lizheng.yunservice.travel.model.CulturalVideoPageDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface CulturalVideoMapper extends BaseMapper<CulturalVideo> {

    /**
     * 分页查询文创视频列表
     * @param page 分页参数
     * @param dto 查询条件
     * @return 分页结果
     */
    IPage<CulturalVideoVO> selectVideoPage(Page<CulturalVideoVO> page, @Param("dto") CulturalVideoPageDTO dto);
}